package cn.com.hfuu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.com.hfuu.module.tree;

public interface treeMapper {
    int deleteByPrimaryKey(String treeId);

    int insert(tree record);

    int insertSelective(tree record);

    tree selectByPrimaryKey(String treeId);

    int updateByPrimaryKeySelective(tree record);

    int updateByPrimaryKey(tree record);

    /**
     * 分页查询取数据
     * @param start
     * @param limit
     * @param treeId
     * @param treeLand
     * @param treeState
     * @return
     */
	List<cn.com.hfuu.module.tree> selectpage(@Param("start")Integer start,@Param("limit") Integer limit,
			@Param("treeid")String treeId,@Param("treeland") String treeLand,@Param("treesate") Integer treeState);
	/**
	 * 分页查询总数据
	 * @param treeId
	 * @param treeLand
	 * @param treeState
	 * @return
	 */
	List<tree> selectpagetotal(@Param("treeid")String treeId,@Param("treeland") String treeLand,@Param("treesate") Integer treeState);

	int deletes(String[] ids);
}